package com.example.mscluster.provider.user;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "${order.feign.name}", url = "${order.feign.url}")
public interface OrderFeignClient {

    @RequestMapping(method = RequestMethod.GET, value = "/order/all")
    String getAllOrders();

}
